/**************************************************************************************
*
*	Copyright (C) 2009 Brent Andrew Chua - See LICENSE.txt for more info.
*		
*	Filename	-	WinMain.h
*
*	Description -	
*
*	Comments	-	If you don't understand some part of the code, use MSDN!!!
*						Move the cursur to the function/type then hit F1 in VS.
*
*					Engline.lib and EnglineDebug.lib doesn't support UNICODE.
*					This project is set to Multi-byte.
*
*	Modification History:
*			Name			   Date					Description
*			CodeSushi	-	11/17/2009	-	Creation of this file
**************************************************************************************/

#include <windows.h>
#include "../Pulse Lib/Include/Pulse.h"

#if defined( _DEBUG )
	#pragma comment( lib, "../Pulse Lib/Lib/EngineDebug.lib" )
#else
	#pragma comment( lib, "../Pulse Lib/Lib/Engine.lib" ) // This doesn't contain debug info and of course performs faster...
#endif

#include "LaSalle.h"

// This is important for the methods in WinApp.cpp

int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, INT nShowCmd )
{
	LaSalle gameApp( hInstance, "Fifi the Fish", 0, 0, 1000, 600 );
	//gpWinApp = &gameApp;
   	if ( !gameApp.InitializeWindow() ) return -1;
	
	//gameApp.SetWindowPos( 500, 500 );
	/*gameApp.ShowCursor();*/
	//KgameApp.HideCursor();
    //gameApp.ToggleFullScreen();
	gameApp.CenterWindow();
	gameApp.ShowFPS( TRUE );
	return gameApp.Run();

	return(0);
}

